$(document).ready( function(){
  
  /*Thumb Hover Animation */
  
   $(".thumbnail a.thumb_img").hover(
						
							function(){
								var detail = $(this).find('.details');
								detail.stop(true, true).animate({
													'bottom': '-6px'
  											    }, 100,'linear'
												
												);
							},
							function(){
								var detail = $(this).find('.details');
								detail.stop(true, true).animate({
													'bottom': '-33px'
  											    }, 100,'linear'
												
												);
								
							}
						);
						
	/*Portfolio Pages Images Lightbox*/

	var post_links = $('#post-content a');

	$.each(post_links, function(i, link){
	
	jpg_url = $(link).attr('href');
	
	//Check if the link links to an image
	if (jpg_url.match(/.*\.(jpg|gif|png|jpeg)/g) !== null) {
		
		$(link).attr('rel','lb_group');
	
	}
	});
	//Adding Cool good 'ol fancybox
	$('#post-content a').fancybox({
	'overlayColor': '#000',
	'transitionOut' : 'elastic',
	'speedOut' : 600,
	});
 
 });